package com.yanfan.energy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yanfan.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 能耗设备对象 ibms_energy_device
 *
 * @author genluo
 * @date 2024-10-11
 */

@Data
public class IbmsEnergyDevice implements Serializable{

    private static final long serialVersionUID=1L;

    /**
     * 能耗设备id
     */
    @Excel(name = "能耗设备id")
    @TableId(value = "id" , type = IdType.AUTO) // 整型类型使用自增
    private Long id;

    /**
     * 能耗设备类型
     */
    @Excel(name = "能耗设备类型")
    private String energyDeviceType;

    /**
     * 能耗设备编号
     */
    @Excel(name = "能耗设备编号")
    private String energyDeviceNumber;

    /**
     * 能耗设备名称
     */
    @Excel(name = "能耗设备名称")
    private String energyDeviceName;

    /**
     * 能耗设备地址
     */
    @Excel(name = "能耗设备地址")
    private String energyDeviceAddress;

    /**
     * 能耗设备点位
     */
    @Excel(name = "能耗设备点位")
    private String energyDevicePosition;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    /**
     * 是否商业住宅
     */
    @Excel(name = "是否商业住宅")
    private String isBusiness;


}
